﻿using Common.SqlSugar;
using MyBlog.Model.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyBlog.IService
{
    public interface IUserService:IBaseService<User>
    {
        /// <summary>
        /// 是否存在用户名
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        Task<bool> IsExistUserName(string name);
    }
}
